package com.ct.system.responsity.impl;

import com.ct.repository.commons.BaseServiceImpl;
import com.ct.system.mapper.AdminGoodsMapper;
import com.ct.system.orm.AdminGoods;
import com.ct.system.responsity.IAdminGoodsRespontory;
import com.ct.utils.threadlocal.UserThreadLocal;
import org.springframework.stereotype.Repository;

@Repository
public class AdminGoodsRespontoryImpl extends BaseServiceImpl<AdminGoodsMapper,AdminGoods> implements IAdminGoodsRespontory {

    /**
     * 保存商品
     * @return
     */
    @Override
    public boolean saveGoods(){
        System.out.println(UserThreadLocal.get().getId());
        return true;
    }

}
